package com.dgw;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @program: spring-boot-web-jsp
 * @description:
 * @author: Mr.Dai
 * @create: 2019-11-26 23:00
 **/
public class ServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        System.out.println("start SpringBootServletInitializer");
        return builder.sources(DemoApplication.class);
    }
}
